using System;
using MediatR;
using NotifyCenter.NotificationRecords;

namespace NotifyCenter.MediatR.Etos;

public class NotificationWebhookEto : INotification
{
    public Uri Callback { get; set; } = default!;
    public string? Secret { get; set; }
    public long ProjectId { get; set; }
    public long NotificationRuleId { get; set; }
    public long RecordId { get; set; }
    public string NotificationName { get; set; } = "";
    public string NotificationType { get; set; }
    public MessageSendingStatus Status { get; set; }
    public string StatusMessage { get; set; } = "";
    public DateTimeOffset OccurredAtUtc { get; set; } = DateTimeOffset.UtcNow;
}
